<?php
$this->breadcrumbs=array(
	AdmincpModule::t("Administrator Menu"),
);
?>

<h2><?php echo AdmincpModule::t("Administrator Menu"); ?></h2>
<?php echo $this->renderPartial('/_menu'); ?>

<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'menumanager-form',
	'enableClientValidation'=>true,
)); ?>

	<p class="note"><?php echo AdmincpModule::t('Fields with <span class="required">*</span> are required.'); ?></p>
	<?php echo CHtml::errorSummary($model); ?>
	
	<div class="row">
	<?php echo $form->labelEx($model,'title'); ?>
	<?php echo $form->textField($model,'title'); ?>
	<?php echo $form->error($model,'title'); ?>
	</div>
	
	<div class="row">
	<?php echo $form->labelEx($model,'url'); ?>
	<?php echo $form->textField($model,'url'); ?>
	<?php echo $form->error($model,'url'); ?>
	</div>
	
	
	<div class="row submit">
	<?php echo CHtml::submitButton(AdmincpModule::t("Save")); ?>
	</div>

<?php $this->endWidget(); ?>
</div><!-- form -->